<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>List users</title>
</head>
<body>
<s:set name="theme" value="'simple'" scope="page" />
<p align="center" style="font-size:28px"><strong> User Details </strong></p>
<br>
<s:form action="listsearch" method="post" name="frm_search">
  <label>
    <strong>Search Student Rollno :</strong>
   <s:textfield type="text" name="searchrollno" id="textfield" value=""/>
  </label>
  <label>
    <s:submit name="cmdbutton" value="Search" />
  </label>
<br><br>
	<table width="802" height="78" border="1" style="border:double">
  <tr>
    <th>Login ID</th>
    <th>Username</th>
    <th>Student Rollno</th>
    <th>Delete</th>
  </tr>
  <%@ page import="java.util.ArrayList, login.Model.*" %>
  <s:iterator value="llist">
  <tr>
    <td><s:property value="idloginMaster" /></td>
    <td><s:property value="loginUsername" /></td>
    <td><s:property value="studentRollno" /></td>
    <td><a href="actdeleteuser.action?idloginMaster=<s:property value="idloginMaster" />">delete</a></td>
  </tr>
  </s:iterator>
</table>
<br><br>
 <s:submit name="cmdbutton" value="Display All" />
</s:form>
</body>
</html>